@import "@styles/theme.scss";

.container {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
  background: #f4f4f4;

  &-box {
    margin: 20px;
    padding: 20px 25px 20px;
    background: #ffffff;
    border-radius: 20px;
  }

  &-option-box {

  }

  &-wrap {
    padding-bottom: 100px;
  }
}

.item-warp {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f2f4;
}

.item__img {
  width: 160px;
  height: 160px;
  background: #fafafa;
  border-radius: 4px;
  margin-right: 20px;
}

.item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  height: 130px;

  &-name {
    color: $text-color;
    font-size: $font-size-sm;
    line-height: 1.5;
    @include text-ellipsis;
  }

  &-b {
    display: flex;
    flex-direction: row;

    &-name {
      color: $text-color;
      font-size: $font-size-sm;
    }

    &-value {
      color: $black;
      font-size: $font-size-sm;
      font-weight: 600;
      padding-right: 20px;
    }
  }
}

.item__apply {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;

  &-label {
    color: $black;
    font-size: $font-size-lg;
    font-weight: 600;
    letter-spacing: 3px;
  }
}

.af__box-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;

  &-l {
    color: $text-color;
    font-size: $font-size-base;
  }

  &-r {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    &-txt {
      color: $black;
      font-size: $font-size-base;
      font-weight: 600;
      letter-spacing: 3px;
      padding-right: 10px;
    }
  }
}

.af__apply {

  &-reason {
    &-placeholder {
      color: $text-color-light;
      font-size: $font-size-sm;
    }
  }

  &-footer {
    position: fixed;
    flex-direction: column;
    border: none;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;

    &-tip {
      color: $text-color-light;
      font-size: $font-size-xs;
    }

    &-btn {
      align-items: center;
      justify-content: center;
      width: 90%;
      height: 70px;
      line-height: 70px;
      border-radius: 50px;
      margin-top: 20px;
      margin-bottom: 10px;
      text-align: center;
      font-size: $font-size-base;
      font-weight: 600;
      color: #f4f4f4;
      letter-spacing: 5px;
      background: $color-brand-dark;
    }
  }
}

